import request from '@/utils/request'
type LogparamsType = {
  userId:null,
  userName:null,
  pageSize:number,
  pageIndex:number
}
type LogResponseType = {
id:number,
userId:number,
userName:string,
realName:string,
content:string,
createTime:string
}
type SubjectPageResponse = {
  total: number
  list: LogResponseType[]
}
interface ApiResponse<T> {
  code: number
  message: string
  response: T
}
export function LogPageResponse(data: LogparamsType) {
  return request.post<ApiResponse<SubjectPageResponse>>('/api/admin/user/event/page/list', data)
}